package com.example.prison.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;

/**
 *
 * @TableName security_device_info
 */
@TableName(value ="security_device_info")
@Data
public class SecurityDeviceInfo implements Serializable {
    /**
     * 设备ID
     */
    @TableId(value = "device_id", type = IdType.AUTO)
    private Integer deviceId;

    /**
     * 设备名称
     */
    @TableField(value = "device_name")
    private String deviceName;

    /**
     * 设备编号
     */
    @TableField(value = "device_number")
    private String deviceNumber;

    /**
     * 位置
     */
    @TableField(value = "device_area")
    private String deviceArea;

    /**
     * 启用、禁用（0禁用1启用）
     */
    @TableField(value = "is_use")
    private String isUse;

    /**
     * 设备状态
     */
    @TableField(value = "device_status")
    private String deviceStatus;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}
